<!--@Knockout-->
<div data-bind="dxList: {
    dataSource: listDataSource,
    grouped: true,
    height: '80%',
    collapsibleGroups: collapseGroups
}">
    <div data-options="dxTemplate:{ name:'item' }">
        <p style="font-size:larger;"><b data-bind="text: name"></b></p>
        <p>Capital: <i data-bind="text: capital"></i></p>
    </div>
</div>
<div style="margin-top: 15px;" class="dx-fieldset">
    <div class="dx-field">
        <div class="dx-field-label">collapsibleGroups</div>
        <div class="dx-field-value" data-bind="dxSwitch: { 
            value: collapseGroups
        }"></div>
    </div>
</div>
<!--/@Knockout-->
<!--@AngularJS-->
<div ng-controller="demoController" style="height: 100%;">
    <div dx-list="{
        dataSource: listDataSource,
        height: '80%',
        grouped: true,
        bindingOptions: {
            collapsibleGroups: 'collapseGroups',
        }
    }" dx-item-alias="itemObj">
        <div data-options="dxTemplate:{ name:'item' }">
            <p style="font-size:larger;"><b>{{itemObj.name}}</b></p>
            <p>Capital: <i>{{itemObj.capital}}</i></p>
        </div>
    </div>
    <div style="margin-top: 15px;" class="dx-fieldset">
        <div class="dx-field">
            <div class="dx-field-label">collapsibleGroups</div>
            <div class="dx-field-value" ng-model="collapseGroups" dx-switch="{ }"></div>
        </div>
    </div>
</div>
<!--/@AngularJS-->
<!--@jQuery-->
<div id="myList"></div>
<div style="margin-top: 15px;" class="dx-fieldset">
    <div class="dx-field">
        <div class="dx-field-label">collapsibleGroups</div>
        <div class="dx-field-value" id="collapsibleSelector"></div>
    </div>
</div>
<!--/@jQuery-->